
var http = HttpRequest.prototype;
//查询商品列表
http.queryOrderList = function (params, cb) {
    var opts = {
        url : baseUrl + '/manager/order/queryOrderList',
        type : 'POST',
        data : params
    };
    this.baseRequest(cb,opts);
};
//退款
http.refundOrder = function (params, cb) {
    var opts = {
        url : baseUrl + '/manager/order/refundOrder_v2',
        type : 'POST',
        data : params
    };
    this.baseRequest(cb,opts);
};
//导出
http.orderExportExcel= function (params, cb) {
    var opts = {
        url : baseUrl + '/manager/order/getExportUrl',
        type : 'POST',
        data : params
    };
    this.baseRequest(cb,opts);
};
//支付尾款
http.finalPay= function (params, cb) {
    var opts = {
        url : baseUrl + '/manager/order/finalPay',
        type : 'POST',
        data : params
    };
    this.baseRequest(cb,opts);
};
//订单预约
http.makeACall=function (params,cb) {
    var opts = {
        url : baseUrl + '/manager/order/makeACall',
        type : 'POST',
        data : params
    };
    this.baseRequest(cb,opts);
};
//尾款设置
http.changeFinalPayment =function (params,cb) {
    var opts = {
        url : baseUrl + '/manager/order/changeFinalPayment',
        type : 'POST',
        data : params
    };
    this.baseRequest(cb,opts);
};


